<body onload="document.getElementById('t').innerHTML = 'Test Passed'">
<textarea id="t" value="val">Test Failed
</textarea>
</body>